import Vue from "vue";
import App from "./App.vue";
import router from "./router/index";
import echarts from "./utils/echarts";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import { Select, Row, Col } from "element-ui";

Vue.use(ElementUI);
// 按需加载element
Vue.use(Select);
Vue.use(Row);
Vue.use(Col);

Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;

new Vue({
  router,
  el: "#app",
  render: (h) => h(App),
}).$mount("#app");
